package com.linoer.cloud.alo.common.domain.enums;


/**
 * @Classname ExceptionStatus
 * @Description TODO
 * @Date 2021/6/22 8:31 下午
 * @Created by muhenglv
 */
public enum ResponseStatus {
    SUCCESS(200, "success"),
    FAIL(400, "fail"),
    EXCEPTION(500, "exception");

    private int code;
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    ResponseStatus(int code, String message){
        this.code = code;
        this.message = message;
    }
}
